#pragma once

#include "CBufferBase.h"

class UI_API CBuffer : public CBufferBase
{
public:
	CBuffer();
	~CBuffer();

	byte_t * GetBuffer() const;
	int_32 GetStrike() const;
	int_32 GetWidth() const;
	int_32 GetPitch() const;
	int_32 GetHeight() const;

	void SetSize(int_32 iWidth, int_32 iHeight, int_32 iStrike = 4);

protected:
	byte_t * m_pBytes;
	int_32 m_iStrike;
	int_32 m_iPitch;
	int_32 m_iWidth;
	int_32 m_iHeight;
};